package com.xy.job.admin.core.notify

import kotlinx.serialization.Serializable

/**
 * 告警上下文
 */
sealed class NotifyContext {

    @Serializable
    class DingTalkRobot(
        var content: String? = null
    ) : NotifyContext()

    @Serializable
    class Email(
        var title: String? = null,
        var content: String? = null
    ) : NotifyContext()
}